//
//  KCHttpRequest.h
//  Jade
//
//  Created by king on 16/6/24.
//  Copyright © 2016年 KC. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^requestKC)(id response);

@interface KCHttpRequest : NSObject

/** GET请求 */
+ (void)get:(NSString *)url
           :(requestKC)requestKC;

/** POST请求 */
+ (void)post:(NSString *)url
            :(NSDictionary *)data
            :(requestKC)requestKC;

/** 上传图片请求 */
+ (void)uploadImage:(NSString *)url
                   :(NSDictionary *)data
                   :(NSArray *)imageDataArray
                   :(requestKC)requestKC;

@end
